<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{$app_name}</title>
<link href="{$TemplateAdminDir}style.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("#emanager").click(function(){
    $("#emanagerall").slideToggle();
  });
  $("#dmanager").click(function(){
    $("#dmanagerall").slideToggle();
  });
  $("#pmanager").click(function(){
    $("#pmanagerall").slideToggle();
  });
});
</script>


<style type="text/css">
body{ margin:0px; padding:0px; border:1px #CCC solid; border-top:1px #fff solid;}
.menudiv{ height:auto;  width:160px; height:450px;}
#menu,#menu ul {
	list-style:none;
	margin-left:10px;
	padding:0px;
}
#menu{ width:100px; }
#menu ul { }
</style>
</head>
<!--{if $mm_show eq "admin_menu"} -->
<body>
<div class="menudiv">
  <ul id="menu">
<li>
 <a href="employee.php" target="main-frame" id="emanager">员工管理</a>
 <ul id="emanagerall">
  <li><a href="employee.php" target="main-frame">员工列表</a></li>
  <li><a href="employee.php?act=add" target="main-frame">添加员工</a></li>
 </ul>
</li>
<li>
 <a href="department.php" target="main-frame" id="dmanager">部门管理</a>
 <ul id="dmanagerall">
  <li><a href="department.php" target="main-frame">部门列表</a></li>
  <li><a href="department.php?act=add" target="main-frame">添加部门</a></li>
 </ul>
</li>
<li>
 <a href="permission.php?act=group" target="main-frame" id="pmanager">权限管理</a>
 <ul id="pmanagerall">
  <li><a href="permission.php?act=group" target="main-frame">用户组设置</a></li>
  <li><a href="permission.php?act=allocation" target="main-frame">权限分配</a></li>
 </ul>
</li>
</ul>
</div>


</body>
<!--{/if} -->
</html>